﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SortableList.aspx.cs" Inherits="SortableList" %>
<%@ Register Assembly="jQueryDotNetLib" Namespace="jQueryDotNetLib.Extenders" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="DemoTitleContentPlaceHolder" Runat="Server">
Sortable List
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="DemoContentPlaceHolder" Runat="Server">

      <asp:BulletedList ID="BulletedList1" runat="server">
        <asp:ListItem Text="AAAA"></asp:ListItem>
        <asp:ListItem Text="BBB"></asp:ListItem>
        <asp:ListItem Text="CCCC"></asp:ListItem>
      </asp:BulletedList>
    <cc1:Sortable ID="Selectable1" runat="server" Selector="#{BulletedList1}"
        ClientStyle="list-style-type: none; margin: 0; padding: 0; width: 60%;"
        ClientListItemStyle="margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em;"
        ClientListItemSpanStyle="position: absolute; margin-left: -1.3em; "
        ClientListItemHighlightStyle="height: 1.5em; line-height: 1.2em;"
     />

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SourceContentPlaceHolder" Runat="Server">
<pre>

      &lt;asp:BulletedList ID="BulletedList1" runat="server"&gt;
        &lt;asp:ListItem Text="AAAA"&gt;&lt;/asp:ListItem&gt;
        &lt;asp:ListItem Text="BBB"&gt;&lt;/asp:ListItem&gt;
        &lt;asp:ListItem Text="CCCC"&gt;&lt;/asp:ListItem&gt;
      &lt;/asp:BulletedList&gt;
    &lt;cc1:Sortable ID="Selectable1" runat="server" Selector="#{BulletedList1}"
        ClientStyle="list-style-type: none; margin: 0; padding: 0; width: 60%;"
        ClientListItemStyle="margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em;"
        ClientListItemSpanStyle="position: absolute; margin-left: -1.3em; "
        ClientListItemHighlightStyle="height: 1.5em; line-height: 1.2em;"
     /&gt;
</pre>    
</asp:Content>